import { lazy } from 'solid-js'
import type { IRoute } from '..'

const Website: IRoute[] = [
  {
    path: '/website',
    component: lazy(() => import('@/layout/primary')),
    mate: { name: '网站' },
    children: [
      {
        path: '/',
        component: lazy(() => import('@/pages/website/index')),
        mate: { name: '网站管理' },
      },
    ],
  },
]

export default Website
